package com.zbkj.crmeb.store.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 
 * @author cyz
 * @date 2021/4/12 15:55
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="DeliveryResponse", description="物流")
public class DeliveryResponse {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "快递公司logo")
    private String logo;

    @ApiModelProperty(value = "快递公司编码")
    private String expSpellName;

    @ApiModelProperty(value = "快递公司中文")
    private String expTextName;

    @ApiModelProperty(value = "快递状态 0未发货 1已发货")
    private Integer status;

    @ApiModelProperty(value = "快递公司联系方式")
    private String tel;

    @ApiModelProperty(value = "快递单号")
    private String mailNo;

    @ApiModelProperty(value = "查询是否成功")
    private boolean flag;

    @ApiModelProperty(value = "分段等级")
    private Integer level;

    @ApiModelProperty(value = "快递详情")
    private String[] data;


    @Data
    public static class DeliveryInfo{

        @ApiModelProperty(value = "时间")
        private String time;

        @ApiModelProperty(value = "内容")
        private String context;
    }
}
